package com.lanfan.entity;

import java.util.List;

/**
 * @program: sc20240702
 * @description:
 * @author: XG
 * @create: 2024-09-26 10:48
 * @version: 1.0
 **/
public class Page<T>{

    //当前页码
    private Integer pageIndex;

    //每页记录数
    private  Integer pageSize;

    //总记录数
    private Integer total;

    //总页数
    private Integer totalPage;

    //当前页数据集合
    private List<T> list;

    public Integer getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(Integer pageIndex) {
        this.pageIndex = pageIndex;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public Integer getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(Integer totalPage) {
        this.totalPage = totalPage;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }
}